package com.hjn.aop.demo.service.impl;

import com.hjn.aop.demo.service.UserService;
import org.springframework.stereotype.Component;

/**
 * @author huaijn
 * @version 1.0.0
 * @Date 2020/9/11 6:49
 * @Description
 */
@Component("userService")
public class UserServiceImpl implements UserService {
    @Override
    public int addUser() {
        System.out.println("添加用户");
        return 0;
    }

    @Override
    public boolean delUser() {
        System.out.println("删除用户");
        return false;
    }
}
